.parent {
  width: 300px;
  height: 300px;
  background-color: aquamarine;
  display: flex;
  justify-content: center;
  align-items: center;
}